package com.vogue.supplymall.order.domain.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 供货商的客户信息
 * @author 崔岳
 *
 */
@Entity
@Table(name = "supplier_consumer")
public class SupplierConsumer extends BaseEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 133775449405285479L;
	
	/**
	 * 系统注册号id
	 */
	private Long sellsyscodeid;

	/**
	 * 系统注册号id
	 */
	private Long buysyscodeid;
	
	/**
	 * 卖家门店id
	 */
	private Long buyorganid;
	
	/**
	 * 对应的供应链系统中的organid
	 */
	private String buymatchid;
	
	/**
	 * 支付限制方式【0:不限 1:线上 2:线下】
	 */
	private Integer paymode;

	public Long getSellsyscodeid() {
		return sellsyscodeid;
	}

	public void setSellsyscodeid(Long sellsyscodeid) {
		this.sellsyscodeid = sellsyscodeid;
	}

	public Long getBuysyscodeid() {
		return buysyscodeid;
	}

	public void setBuysyscodeid(Long buysyscodeid) {
		this.buysyscodeid = buysyscodeid;
	}

	public Long getBuyorganid() {
		return buyorganid;
	}

	public void setBuyorganid(Long buyorganid) {
		this.buyorganid = buyorganid;
	}

	public String getBuymatchid() {
		return buymatchid;
	}

	public void setBuymatchid(String buymatchid) {
		this.buymatchid = buymatchid;
	}

	public Integer getPaymode() {
		return paymode;
	}

	public void setPaymode(Integer paymode) {
		this.paymode = paymode;
	}

}
